using System;
using System.Collections.Generic;
using System.Text;

namespace Matchmaking
{
    class Program
    {
        static void Main(string[] args)
        {
            // TestMatchmakingServer();
            TestMatchmakingClient();

            Console.ReadLine();
        }

        static void TestMatchmakingServer()
        {
            MatchmakingServer theServer = new MatchmakingServer();
            theServer.Start();
        }

        static void TestMatchmakingClient()
        {
            MatchmakingClient theClient = new MatchmakingClient();

            Console.Write("Enter the name of the client server: ");
            string clientName = Console.ReadLine();
            theClient.ConnectToServer(clientName);
            
            Console.Write("Enter the test string to send: ");
            string testString = Console.ReadLine();
            theClient.SendToServer(testString);
        }
    }
}
